#pragma once
#include <assert.h>
#include <d3d10.h>
#include <d3dx10.h> 

class TViewDS
{
public:
    ID3D10Texture2D*					m_pTexture;
    ID3D10DepthStencilView*			m_pDSV;
    ID3D10ShaderResourceView*	m_pSRV;

	bool					Create( ID3D10Device* pd3dDevice, D3D10_TEXTURE2D_DESC* pTexDesc );
	bool					Release();

public:
	TViewDS();
    TViewDS( ID3D10Device* pd3dDevice, D3D10_TEXTURE2D_DESC* pTexDesc );
    ~TViewDS();
};
